package the.broccoli.uc.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

import java.io.Serializable;

/**
 * 角色与资源
 */
@Data
@TableName("uc_role_res")
public class RoleRes extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 8929373703529186128L;

    @TableId("role_res_id")
    private String roleResId;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 资源ID，主键
     */
    @TableField("res_id")
    private String resId;

    /**
     * 应用ID
     */
    private Integer appId;

}
